package vip.xiaonuo.modular.manage.tsdatarecord.enums;

/**
 * MateDataTypeEnum
 *
 * @author JackLee
 * 2022/8/23 11:22
 */
public enum MateDataTypeEnum {
    TIME_SPACE_DATA("时空数据", 0),

    BACKGROUND_DATA("背景数据", 3),

    POI_DATA("POI数据", 1),

    TARGET_DATA("指标数据", 2)
    ;

    private String label;

    private Integer code;

    MateDataTypeEnum(String label, Integer code) {
        this.label = label;
        this.code = code;
    }

    public boolean check(Integer code) {
        return this.code.equals(code);
    }
}
